]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
data: Add shift level to Korean OSK layout
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 2 Mar 2024 21:32:04 +0000 (22:32 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sun, 17 Mar 2024 14:22:43 +0000 (14:22 +0000)
This allows input of double consonants and other characters
typically hidden in the first level.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7455
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3222>

data/osk-layouts/kr.json

index 179c63fee86a9c50b0011c9f8836f76d093b889e..9a27c94d5b80c2d2eef3f218783078c0f5a794b6 100644 (file)
           }
         ],
         [
+          {
+            "action": "levelSwitch",
+            "iconName": "keyboard-shift-symbolic",
+            "level": "shift"
+          },
           {
             "label": "ㅋ",
-            "leftOffset": 1,
             "strings": [
               "z"
             ]
               "'",
               "@"
             ]
+          },
+          {
+            "action": "levelSwitch",
+            "iconName": "keyboard-shift-symbolic",
+            "level": "shift",
+            "width": 1.5
+          }
+        ],
+        [
+          {
+            "action": "levelSwitch",
+            "label": "?123",
+            "level": "opt",
+            "width": 1.5
+          },
+          {
+            "action": "emoji",
+            "iconName": "face-smile-symbolic",
+            "width": 1.5
+          },
+          {
+            "strings": [
+              " "
+            ],
+            "width": 5
+          },
+          {
+            "action": "languageMenu",
+            "iconName": "keyboard-layout-symbolic",
+            "width": 1.5
+          },
+          {
+            "action": "hide",
+            "iconName": "keyboard-hide-symbolic",
+            "width": 2
+          }
+        ]
+      ]
+    },
+    {
+      "level": "shift",
+      "mode": "latched",
+      "rows": [
+        [
+          {
+            "label": "ㅃ",
+            "strings": [
+              "Q"
+            ]
+          },
+          {
+            "label": "ㅉ",
+            "strings": [
+              "W"
+            ]
+          },
+          {
+            "label": "ㄸ",
+            "strings": [
+              "E"
+            ]
+          },
+          {
+            "label": "ㄲ",
+            "strings": [
+              "R"
+            ]
+          },
+          {
+            "label": "ㅆ",
+            "strings": [
+              "T"
+            ]
+          },
+          {
+            "label": "ㅛ",
+            "strings": [
+              "Y"
+            ]
+          },
+          {
+            "label": "ㅕ",
+            "strings": [
+              "U"
+            ]
+          },
+          {
+            "label": "ㅑ",
+            "strings": [
+              "I"
+            ]
+          },
+          {
+            "label": "ㅒ",
+            "strings": [
+              "O"
+            ]
+          },
+          {
+            "label": "ㅖ",
+            "strings": [
+              "P"
+            ]
+          },
+          {
+            "iconName": "edit-clear-symbolic",
+            "keyval": "0xff08",
+            "width": 1.5
+          }
+        ],
+        [
+          {
+            "label": "ㅁ",
+            "leftOffset": 0.5,
+            "strings": [
+              "A"
+            ]
+          },
+          {
+            "label": "ㄴ",
+            "strings": [
+              "S"
+            ]
+          },
+          {
+            "label": "ㅇ",
+            "strings": [
+              "D"
+            ]
+          },
+          {
+            "label": "ㄹ",
+            "strings": [
+              "F"
+            ]
+          },
+          {
+            "label": "ㅎ",
+            "strings": [
+              "G"
+            ]
+          },
+          {
+            "label": "ㅗ",
+            "strings": [
+              "H"
+            ]
+          },
+          {
+            "label": "ㅓ",
+            "strings": [
+              "J"
+            ]
+          },
+          {
+            "label": "ㅏ",
+            "strings": [
+              "K"
+            ]
+          },
+          {
+            "label": "ㅣ",
+            "strings": [
+              "L"
+            ]
+          },
+          {
+            "iconName": "keyboard-enter-symbolic",
+            "keyval": "0xff0d",
+            "width": 2
+          }
+        ],
+        [
+          {
+            "action": "levelSwitch",
+            "iconName": "keyboard-shift-symbolic",
+            "level": "default"
+          },
+          {
+            "label": "ㅋ",
+            "strings": [
+              "Z"
+            ]
+          },
+          {
+            "label": "ㅌ",
+            "strings": [
+              "X"
+            ]
+          },
+          {
+            "label": "ㅊ",
+            "strings": [
+              "C"
+            ]
+          },
+          {
+            "label": "ㅍ",
+            "strings": [
+              "V"
+            ]
+          },
+          {
+            "label": "ㅠ",
+            "strings": [
+              "B"
+            ]
+          },
+          {
+            "label": "ㅜ",
+            "strings": [
+              "N"
+            ]
+          },
+          {
+            "label": "ㅡ",
+            "strings": [
+              "M"
+            ]
+          },
+          {
+            "strings": [
+              ","
+            ]
+          },
+          {
+            "strings": [
+              ".",
+              "#",
+              "!",
+              ",",
+              "?",
+              "-",
+              ":",
+              "'",
+              "@"
+            ]
+          },
+          {
+            "action": "levelSwitch",
+            "iconName": "keyboard-shift-symbolic",
+            "level": "default",
+            "width": 1.5
           }
         ],
         [